<?php
namespace app\controller;
use app\service\InsOrderTotalService,
    think\Request;

class InsOrderTotal extends Base
{
    protected $service;
    public function __construct(InsOrderTotalService $service)
    {
        parent::__construct();
        $this->service = $service;
    }  

     public function index()
     {  
        $data   = Request::instance()->get();dump($this->service->page($data));exit;
        $this->assign(['list'   =>  $this->service->page($data)]);
        return view();
    }

}
